<form action="" method="post">
	
	<?php if($oRow['id']): ?>
	<input type="hidden" name="id" value="<?php echo $oRow['id']; ?>" />
	<?php endif; ?>
	
	<input type="text" name="title" value="<?php echo $oRow['title'] ? $oRow['title'] : '' ?>" />
	<input type="text" name="video" value="<?php echo $oRow['video'] ? $oRow['video'] : '' ?>" />
	
	
	<button type="submit">Add</button>
	
</form>

<?php

?>
